﻿using System;
using System.Collections.Generic;
using System.Collections;
using TCKQKL.Service.DataContract;

namespace TCKQKL.DAL.IDAL
{
    public interface IOrdersBosc
    {
        void BeginADOTransaction();
        void RollBackTransaction();
        void CommitADOTransaction();
        void Open(string connString);
        void Close();

        List<OrdersBoscModel> getOrdersRelatedByOrderId(string originOrderID);
        List<OrdersBoscModel> getOrdersRelatedHistoryByOrderId(string originOrderID);
        List<MatchedResultModel> getMatchedResultByOrderId(string orderID);
        List<MatchedResultModel> getMatchedResultEarlyByAccountNo(string orderID);
        decimal getOrderFee(OrdersOnlineModel order);
    }
}
